package com.zprmb.udzt.bean;

import org.json.JSONObject;

public class ProductV4End_Bean extends BaseBean<ProductV4End_Bean> {

	public int amount;
	public int months;
	public int days;
	public int years;
	public String title;
	public String loanId;
	public double originRate;
	public double rateAdd;
	public String requestType;

	public ProductV4End_Bean parseJSON(JSONObject inputJsonObj) {
		amount = inputJsonObj.optInt("amount");
		months = inputJsonObj.optInt("months");
		days = inputJsonObj.optInt("days");
		years = inputJsonObj.optInt("years");
		title = inputJsonObj.optString("title");
		loanId = inputJsonObj.optString("loanId");
		requestType = inputJsonObj.optString("requestType");
		originRate = inputJsonObj.optDouble("originRate");
		rateAdd = inputJsonObj.optDouble("rateAdd");
		return this;
	}
}
